home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19941221-19950208
/
000131_news@columbia.edu_Sun Jan 8 19:23:03 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA28353
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 8 Jan 1995 14:23:09 -0500
Received: by apakabar.cc.columbia.edu id AA02649
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 8 Jan 1995 14:23:07 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Can spawn'ed programs access the open connection?
Date: 8 Jan 1995 19:23:03 GMT
Organization: Columbia University
Lines: 21
Message-Id: <3epe2n$2in@apakabar.cc.columbia.edu>
References: <D23K9H.Ext@olsen.ch>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <D23K9H.Ext@olsen.ch>, Martin Lichtin <lichtin@olsen.ch> wrote:
>How can I run a communications application after having used kermit to
>open and prepare the device? Is there a way to pass the UNIX file
>handle on? Can the RUN command be used for this?
>Thanks for more information. I'm running C-Kermit 5A(188) under UNIX.
>
As described in the manual, "Using C-Kermit", page 232, the variable
\v(ttyfd) contains the open file descriptor of the communication channel,
which can be either a serial device or a TCP/IP connection (or, in the
case of SunLink X.25, an X.25 connection).
If your communication application accepts an arbitrary file descriptor,
then you can pass it via this variable. Otherwise, you can use the
redirection capabilities of certain shells, notably ksh, to redirect the
fd to your communication program's stdin/stdout.
Version 5A(190), the current release of C-Kermit, includes a new REDIRECT
command that starts a given program with its stdin/stdout redirected to
C-Kermit's open communications channel.
- Frank